import service from './service';


// 手机号登录
export function userPhoneLogin (info) {
  return service({
    url: `/login/cellphone?phone=${info.phone}&password=${info.password}`,
    method: "post"
  })
}

// 退出登录
export function userLogOut (cookie) {
  return service({
    url: `/logout?cookie=${cookie}`
  })
}

// 登录状态
export function loginStatus (cookie) {
  return service({
    url: `/login/status?cookie=${cookie}`
  })
}